<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class Pruebas extends CI_Controller {

    public function __construct() {
        parent::__construct();
        session_start();
    }

    public function index() {
        $file = fopen("testw.txt", "w+");
         fwrite($file,date("Y-m-d H:i:s")."\n". $_GET["s"]);
        fclose($file);
    }

}
